

$(function() {
	$(".menu-ul li").each(function(index, el) {
		$(el).bind('click', function() {
			switch(index) {
				case 0:
					{
						$('#admin-content-iframe').attr("src", "articles.html");
						break;
					}
				case 1:
					{
						$('#admin-content-iframe').attr("src", "notes.html");
						break;
					}
				case 2:
					{
						$('#admin-content-iframe').attr("src", "createArticle.html");
						break;
					}
				case 3:
					{
						$('#admin-content-iframe').attr("src", "createNote.html");
						break;
					}
				case 4:
					{
						alert(5);
						break;
					}
				case 5:
					{
						alert(6);
						break;
					}
			}
		});

	});

})